﻿using System;
using System.Collections.Generic;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class LoaiPhongBUS
    {
        public static int KtMaLoaiPhong(long maLoaiPhong)
        {
            long temp = LoaiPhongDAO.KtMaLoaiPhong(maLoaiPhong);

            if (temp == 0)
                return 0;
            return 1;
        }

        public static List<LoaiPhongDTO> LayDSLP()
        {
            return LoaiPhongDAO.LayDSLP();
        }
    }
}
